package cn.wolfcode.rbac.util;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by Administrator on 2020/7/12 0012.
 */
@Getter
@Setter
public class QueryObject {
    // 当前页
    private Integer currentPage  = 1;
    // 每页实现的数据
    private Integer pageSize  = 5;

    public Integer getStart(){
        return (currentPage - 1) * pageSize;
    }
}
